package com.erp.erp_mask.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * 
 * @TableName t_salesorders
 */
@TableName(value ="t_salesorders")
@Data
public class TSalesorders implements Serializable {
    private Integer ordcomId;
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer orderId;

    /**
     * 
     */
    private String orderNumber;

    /**
     * 
     */
    private Integer customerId;

    /**
     * 
     */
    private Integer saleId;

    /**
     *
     */
    private Integer moneycount;



    /**
     * 
     */
    private LocalDate orderDate;

    /**
     * 
     */
    private LocalDate deliveryDate;

    /**
     * 
     */
    private Boolean salesReturn;

    /**
     * 
     */
    private String salesReturnCause;

    /**
     * 
     */
    private Integer commId;


    @TableField(exist = false)
    private String customername;//客户名称

    @TableField(exist = false)
    private String saleName;//销售名称

    @TableField(exist = false)
    private String ordername;//产品状态



    @TableField(exist = false)
    private Integer orderNum;//数量

    @TableField(exist = false)
    private Integer orderPrice;//单价

    @TableField(exist = false)
    private Integer orderCount;//总价

    @TableField(exist = false)
    private String productName;//产品名称

    @TableField(exist = false)
    private String common;//产品描述

    @TableField(exist = false)
    private String prounits;//单位

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Integer totalOrders;//数量

    @TableField(exist = false)
    private String orderMonth;//日期

}